import api from '../index'
import type {
	ResponseData,
	pageParam
} from '../index'

export interface LiveinfoItem {
	roomid:string
	coverImg:string
	name:string
	anchorName:string
}
// 获取直播间列表
export const getLiveinfoList= (data:pageParam) =>
	api.get<ResponseData<LiveinfoItem[],true>>('system/api/weixin/getliveinfo',{
		data,
		custom:{
			auth:false
		}
	})
